package com.qidian.permission.mapper;

import com.qidian.permission.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/18 18:08
 * Description
 */
public interface UserMapper {

    User selectById(Long userId);
    int addUser(User user);
    User selectByUserName(String userName);
    Integer selectCount(User user);
    List<User> selectByPage(@Param("user") User user, @Param("start") Integer start, @Param("limit") Integer limit);
    Integer update(User user);
    Integer deteleByUserId(Long userId);
    Integer deletesByUserId(Long[] userIds);
}
